package com.bq.server.core.model;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.bq.server.base.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * 干部任免审批信息表
 *
 * @author shchen
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "cadre_appoint_info")
public class CadreAppointInfo extends BaseEntity<CadreAppointInfo> {

    /**
     * 姓名
     */
    @TableField(value = "`name`")
    private String name;

    /**
     * 出生地
     */
    @TableField(value = "birth_city")
    private String birthCity;


    /**
     * 出生年月
     */
    @TableField(value = "birthday")
    private String birthday;

    /**
     * 照片
     */
    @TableField(value = "photo")
    private String photo;


    /**
     * 性别,默认值0,0未知,1男性,2女性
     */
    @TableField(value = "gender")
    private Integer gender;

    /**
     * 简历
     */
    @TableField(value = "resume")
    private String resume;

    /**
     * 民族
     */
    @TableField(value = "family_name")
    private String familyName;

    /**
     * 籍贯
     */
    @TableField(value = "native_place")
    private String nativePlace;

    /**
     * 入党时间
     */
    @TableField(value = "join_party_time")
    private String joinPartyTime;

    /**
     * 参加工作时间
     */
    @TableField(value = "in_work_time")
    private String inWorkTime;

    /**
     * 健康状态
     */
    @TableField(value = "healthy_status")
    private String healthyStatus;

    /**
     * 专业技能
     */
    @TableField(value = "`major_ skill`")
    private String majorSkill;

    /**
     * 熟悉专业
     */
    @TableField(value = "`major_ know`")
    private String majorKnow;

    /**
     * 全日制学历
     */
    @TableField(value = "qualification")
    private String qualification;

    /**
     * 毕业学校
     */
    @TableField(value = "graduation_school")
    private String graduationSchool;

    /**
     * 在职教育
     */
    @TableField(value = "qualification_job")
    private String qualificationJob;

    /**
     * 在职教育毕业院校
     */
    @TableField(value = "graduation_school_job")
    private String graduationSchoolJob;

    /**
     * 当前职务
     */
    @TableField(value = "current_position")
    private String currentPosition;

    /**
     * 拟任职务
     */
    @TableField(value = "proposed_position")
    private String proposedPosition;

    /**
     * 拟免职务
     */
    @TableField(value = "deposable_position")
    private String deposablePosition;

    /**
     * 奖惩情况
     */
    @TableField(value = "rewards")
    private String rewards;

    /**
     * 年度考核结果
     */
    @TableField(value = "annual_assessment")
    private String annualAssessment;

    /**
     * 任命理由
     */
    @TableField(value = "appoint_reason")
    private String appointReason;

    /**
     * 呈报单位
     */
    @TableField(value = "report_unit")
    private String reportUnit;

    /**
     * 审批机关意见
     */
    @TableField(value = "approve_opinion")
    private String approveOpinion;

    /**
     * 行政机关意见
     */
    @TableField(value = "administration_office_opinion")
    private String administrationOfficeOpinion;

    /**
     * 行政机关审核时间
     */
    @TableField(value = "administration_approve_time")
    private String administrationApproveTime;

    /**
     * 审批机关审核时间
     */
    @TableField(value = "approve_time")
    private String approveTime;

    @TableField(exist = false)
    private List<CadreRelationsInfo> relationsList;
}